home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BUG 1
/
BUGCD1996_0708.ISO
/
pc
/
util
/
minilin
/
minilin.exe
/
ETC
/
RC.D
/
RC_S.{_4
< prev
next >
Wrap
Text File
|
1994-05-30
|
1KB
|
44 lines
# /etc/rc
#
# These commands are executed at boot time by init(8).
# User customization should go in /etc/rc.local.
PATH=/sbin:/usr/sbin:/bin:/usr/bin
# enable swapping
/sbin/swapon -a
# Start update.
/sbin/update &
# remove /etc/mtab* so that mount will create it with a root entry
/bin/rm -f /etc/mtab* /etc/nologin /etc/utmp
# Looks like we have to create this.
cat /dev/null >> /etc/utmp
# mount file systems in fstab (and create an entry for /)
# but not NFS because TCP/IP is not yet configured
/sbin/mount -avt nonfs
# Configure the system clock.
# This can be changed if your system keeps GMT.
if [ -x /sbin/clock ]; then
/sbin/clock -s
fi
# Setup the /etc/issue and /etc/motd to reflect the current kernel level:
# THESE WIPE ANY CHANGES YOU MAKE TO /ETC/ISSUE AND /ETC/MOTD WITH EACH
# BOOT. COMMENT THEM OUT IF YOU WANT TO MAKE CUSTOM VERSIONS.
echo > /etc/issue
echo Welcome to Linux `/bin/uname -a | /bin/cut -d\ -f3`. >> /etc/issue
echo >> /etc/issue
echo "`/bin/uname -a | /bin/cut -d\ -f1,3`. (Posix)." > /etc/motd
# Set up the serial ports.
# This made a couple machines I tested this on hang at this point in the boot
# process, so it's getting commented out by default. However, if you need to
# set up extended serial ports try it out. It usually works great.
#/bin/sh /etc/rc.d/rc.serial